import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './directive/index.js'
import { createPinia } from 'pinia'
// import { focus } from './directive'
import '@/utils/rem.js'
import '@/style/index.scss'
import piniaPersist from 'pinia-plugin-persist'
const pinia = createPinia()
pinia.use(piniaPersist)
import DataVVue3 from '@kjgl77/datav-vue3';

const app = createApp(App)

// app.directive('focus', focus.focus)
app.use(router).use(pinia).use(DataVVue3).mount('#app')
